package org.jeecg.modules.demo.roomapartdistribute.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 核定单位
 * @Author: jeecg-boot
 * @Date:   2022-03-23
 * @Version: V1.0
 */
@Data
@TableName("znzf_check_apart")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="znzf_check_apart对象", description="核定单位")
public class ZnzfCheckApart implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**外键，单位*/
	@Excel(name = "外键，单位", width = 15)
    @ApiModelProperty(value = "外键，单位")
    private String apartId;
	/**外键，房源单位分配*/
	@Excel(name = "外键，房源单位分配", width = 15)
    @ApiModelProperty(value = "外键，房源单位分配")
    private String roomApartDistributeId;
	/**房源占比*/
	@Excel(name = "房源占比", width = 15)
    @ApiModelProperty(value = "房源占比")
    private Double roomRatio;
	/**核定房源数量*/
	@Excel(name = "核定房源数量", width = 15)
    @ApiModelProperty(value = "核定房源数量")
    private Integer checkedRoomNum;
	/**单位核定报名人数*/
	@Excel(name = "单位核定报名人数", width = 15)
    @ApiModelProperty(value = "单位核定报名人数")
    private Integer apartCheckPeopleNum;
	/**总报名人数*/
	@Excel(name = "总报名人数", width = 15)
    @ApiModelProperty(value = "总报名人数")
    private Integer applyNumSum;
	/**单位人员报名比例*/
	@Excel(name = "单位人员报名比例", width = 15)
    @ApiModelProperty(value = "单位人员报名比例")
    private Double apartPeopleApplyRatio;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15, dicCode = "check_depart_state")
	@Dict(dicCode = "check_depart_state")
    @ApiModelProperty(value = "审核状态")
    private String state;
	/**审核意见*/
	@Excel(name = "审核意见", width = 15)
    @ApiModelProperty(value = "审核意见")
    private String note;
}
